package com.dgut.demo.service;

import com.dgut.demo.bean.DispatchMessage;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/2/24 15:03
 * @Version 1.0
 */
public interface DispatchService {
    List<DispatchMessage> getAllDispatchMessage();
    List<DispatchMessage> getDispatchMessageByDid(String did);
    List<DispatchMessage> getDispatchMessageByVid(String dvid);
    List<DispatchMessage> getDispatchMessageByPhone(String dvphone);
    List<DispatchMessage> getDispatchMessageByEname(String dename);
    List<DispatchMessage> getDispatchMessageByGname(String dgname);
    int addOneDispatchMessage(DispatchMessage dispatchMessage);
}
